﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CDF RID: 3295
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PHHKPJJDLDJ : IMessage<PHHKPJJDLDJ>, IMessage, IEquatable<PHHKPJJDLDJ>, IDeepCloneable<PHHKPJJDLDJ>, IBufferMessage
	{
		// Token: 0x1700297B RID: 10619
		// (get) Token: 0x06009339 RID: 37689 RVA: 0x001870E9 File Offset: 0x001852E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PHHKPJJDLDJ> Parser
		{
			get
			{
				return PHHKPJJDLDJ._parser;
			}
		}

		// Token: 0x1700297C RID: 10620
		// (get) Token: 0x0600933A RID: 37690 RVA: 0x001870F0 File Offset: 0x001852F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PHHKPJJDLDJReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700297D RID: 10621
		// (get) Token: 0x0600933B RID: 37691 RVA: 0x00187102 File Offset: 0x00185302
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PHHKPJJDLDJ.Descriptor;
			}
		}

		// Token: 0x0600933C RID: 37692 RVA: 0x00187109 File Offset: 0x00185309
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PHHKPJJDLDJ()
		{
		}

		// Token: 0x0600933D RID: 37693 RVA: 0x00187114 File Offset: 0x00185314
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PHHKPJJDLDJ(PHHKPJJDLDJ other) : this()
		{
			this.durability_ = other.durability_;
			this.jDBKMAACMMK_ = other.jDBKMAACMMK_;
			this.panelId_ = other.panelId_;
			this.oKCPHFONBHI_ = other.oKCPHFONBHI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600933E RID: 37694 RVA: 0x00187168 File Offset: 0x00185368
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PHHKPJJDLDJ Clone()
		{
			return new PHHKPJJDLDJ(this);
		}

		// Token: 0x1700297E RID: 10622
		// (get) Token: 0x0600933F RID: 37695 RVA: 0x00187170 File Offset: 0x00185370
		// (set) Token: 0x06009340 RID: 37696 RVA: 0x00187178 File Offset: 0x00185378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Durability
		{
			get
			{
				return this.durability_;
			}
			set
			{
				this.durability_ = value;
			}
		}

		// Token: 0x1700297F RID: 10623
		// (get) Token: 0x06009341 RID: 37697 RVA: 0x00187181 File Offset: 0x00185381
		// (set) Token: 0x06009342 RID: 37698 RVA: 0x00187189 File Offset: 0x00185389
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JDBKMAACMMK
		{
			get
			{
				return this.jDBKMAACMMK_;
			}
			set
			{
				this.jDBKMAACMMK_ = value;
			}
		}

		// Token: 0x17002980 RID: 10624
		// (get) Token: 0x06009343 RID: 37699 RVA: 0x00187192 File Offset: 0x00185392
		// (set) Token: 0x06009344 RID: 37700 RVA: 0x0018719A File Offset: 0x0018539A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PanelId
		{
			get
			{
				return this.panelId_;
			}
			set
			{
				this.panelId_ = value;
			}
		}

		// Token: 0x17002981 RID: 10625
		// (get) Token: 0x06009345 RID: 37701 RVA: 0x001871A3 File Offset: 0x001853A3
		// (set) Token: 0x06009346 RID: 37702 RVA: 0x001871AB File Offset: 0x001853AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OKCPHFONBHI
		{
			get
			{
				return this.oKCPHFONBHI_;
			}
			set
			{
				this.oKCPHFONBHI_ = value;
			}
		}

		// Token: 0x06009347 RID: 37703 RVA: 0x001871B4 File Offset: 0x001853B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PHHKPJJDLDJ);
		}

		// Token: 0x06009348 RID: 37704 RVA: 0x001871C4 File Offset: 0x001853C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PHHKPJJDLDJ other)
		{
			return other != null && (other == this || (this.Durability == other.Durability && this.JDBKMAACMMK == other.JDBKMAACMMK && this.PanelId == other.PanelId && this.OKCPHFONBHI == other.OKCPHFONBHI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009349 RID: 37705 RVA: 0x00187230 File Offset: 0x00185430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Durability != 0U)
			{
				num ^= this.Durability.GetHashCode();
			}
			if (this.JDBKMAACMMK != 0U)
			{
				num ^= this.JDBKMAACMMK.GetHashCode();
			}
			if (this.PanelId != 0U)
			{
				num ^= this.PanelId.GetHashCode();
			}
			if (this.OKCPHFONBHI != 0U)
			{
				num ^= this.OKCPHFONBHI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600934A RID: 37706 RVA: 0x001872BA File Offset: 0x001854BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600934B RID: 37707 RVA: 0x001872C2 File Offset: 0x001854C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600934C RID: 37708 RVA: 0x001872CC File Offset: 0x001854CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PanelId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.PanelId);
			}
			if (this.JDBKMAACMMK != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.JDBKMAACMMK);
			}
			if (this.Durability != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Durability);
			}
			if (this.OKCPHFONBHI != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.OKCPHFONBHI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600934D RID: 37709 RVA: 0x00187360 File Offset: 0x00185560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Durability != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Durability);
			}
			if (this.JDBKMAACMMK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JDBKMAACMMK);
			}
			if (this.PanelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PanelId);
			}
			if (this.OKCPHFONBHI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OKCPHFONBHI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600934E RID: 37710 RVA: 0x001873E8 File Offset: 0x001855E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PHHKPJJDLDJ other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Durability != 0U)
			{
				this.Durability = other.Durability;
			}
			if (other.JDBKMAACMMK != 0U)
			{
				this.JDBKMAACMMK = other.JDBKMAACMMK;
			}
			if (other.PanelId != 0U)
			{
				this.PanelId = other.PanelId;
			}
			if (other.OKCPHFONBHI != 0U)
			{
				this.OKCPHFONBHI = other.OKCPHFONBHI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600934F RID: 37711 RVA: 0x00187460 File Offset: 0x00185660
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009350 RID: 37712 RVA: 0x0018746C File Offset: 0x0018566C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 16U)
					{
						this.PanelId = input.ReadUInt32();
						continue;
					}
					if (num == 24U)
					{
						this.JDBKMAACMMK = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 104U)
					{
						this.Durability = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.OKCPHFONBHI = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400382B RID: 14379
		private static readonly MessageParser<PHHKPJJDLDJ> _parser = new MessageParser<PHHKPJJDLDJ>(() => new PHHKPJJDLDJ());

		// Token: 0x0400382C RID: 14380
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400382D RID: 14381
		public const int DurabilityFieldNumber = 13;

		// Token: 0x0400382E RID: 14382
		private uint durability_;

		// Token: 0x0400382F RID: 14383
		public const int JDBKMAACMMKFieldNumber = 3;

		// Token: 0x04003830 RID: 14384
		private uint jDBKMAACMMK_;

		// Token: 0x04003831 RID: 14385
		public const int PanelIdFieldNumber = 2;

		// Token: 0x04003832 RID: 14386
		private uint panelId_;

		// Token: 0x04003833 RID: 14387
		public const int OKCPHFONBHIFieldNumber = 15;

		// Token: 0x04003834 RID: 14388
		private uint oKCPHFONBHI_;
	}
}
